<template>
  <div class="common-layout">
    <el-container>
      <el-aside class="aside">Aside</el-aside>
      <el-container>
        <el-header class="header">Header</el-header>
        <el-main class="main">Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts" setup></script>

<style lang="scss" scoped>
.common-layout {
  width: 100vw;
  height: 100vh;
  .aside {
    width: 200px;
    height: 100vh;
    background-color: #d9ecff;
  }
  .header {
    width: 100%;
    height: 60px;
    background-color: #c6e2ff;
  }
  .main {
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #ecf5ff;
  }
}
</style>
